package com.whfc.common.face.szyc;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * @Description: 人员详细信息
 * @author: xugcheng
 * @version: 1.0
 * @date: 2021-12-08 16:23
 */
public class PersonInfo implements Serializable {

    /**
     * 人员唯一标识,多个用逗号分隔
     */
    private String customId;

    /**
     * 结果
     */
    private String result;

    /**
     * 一体机设备号 id
     */
    private String facesluiceId;

    /**
     * 一体机上自动生成的 人员ID
     */
    private String personId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 民族
     */
    private Integer nation;

    /**
     * 性别
     */
    private String gender;

    /**
     * 身份证号码
     */
    private String idCard;

    /**
     * 地址
     */
    private String address;

    /**
     * 电话号码
     */
    private String telnum1;

    /**
     * 籍贯
     */
    @JSONField(name = "native")
    private String natives;

    /**
     * 生日  yyyy-MM-dd
     */
    private String birthday;

    /**
     * 人员图片
     */
    @JSONField(name = "picURI")
    private String picUri;

    /**
     * 名单类型 0: 白名单 1: 黑名单
     */
    private String personType;

    /**
     * 名单类型
     * 0:永久名单
     * 1:临时名单 1(时间段有效)
     * 2:临时名单 2(每天同一时间段有效)
     * 3 临时名单 3(次数有效)
     */
    private String tempCardType;

    /**
     * 检测添加的图片和底库的人员相似度，
     * 大于设置的黑白名单验证门限值将添
     * 加失败，用于排除相同人员图片被添加
     * 多次。
     * 0:不检测图片相似度(默认:0)
     * 1：检测图片相似度
     */
    private String isCheckSimilarity;

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getFacesluiceId() {
        return facesluiceId;
    }

    public void setFacesluiceId(String facesluiceId) {
        this.facesluiceId = facesluiceId;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNation() {
        return nation;
    }

    public void setNation(Integer nation) {
        this.nation = nation;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelnum1() {
        return telnum1;
    }

    public void setTelnum1(String telnum1) {
        this.telnum1 = telnum1;
    }

    public String getNatives() {
        return natives;
    }

    public void setNatives(String natives) {
        this.natives = natives;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getPicUri() {
        return picUri;
    }

    public void setPicUri(String picUri) {
        this.picUri = picUri;
    }

    public String getPersonType() {
        return personType;
    }

    public void setPersonType(String personType) {
        this.personType = personType;
    }

    public String getTempCardType() {
        return tempCardType;
    }

    public void setTempCardType(String tempCardType) {
        this.tempCardType = tempCardType;
    }

    public String getIsCheckSimilarity() {
        return isCheckSimilarity;
    }

    public void setIsCheckSimilarity(String isCheckSimilarity) {
        this.isCheckSimilarity = isCheckSimilarity;
    }

    @Override
    public String toString() {
        return "PersonInfo{" +
                "customId='" + customId + '\'' +
                ", result='" + result + '\'' +
                ", facesluiceId='" + facesluiceId + '\'' +
                ", personId='" + personId + '\'' +
                ", name='" + name + '\'' +
                ", nation=" + nation +
                ", gender='" + gender + '\'' +
                ", idCard='" + idCard + '\'' +
                ", address='" + address + '\'' +
                ", telnum1='" + telnum1 + '\'' +
                ", natives='" + natives + '\'' +
                ", birthday='" + birthday + '\'' +
                ", picUri='" + picUri + '\'' +
                ", personType='" + personType + '\'' +
                ", tempCardType='" + tempCardType + '\'' +
                ", isCheckSimilarity='" + isCheckSimilarity + '\'' +
                '}';
    }
}
